System and Method For Machines to Communicate over the Internet

ABSTRACT

A system comprising a plurality of client machines in communication with a server machine over the internet. Each client machine comprises a Client Ping Plus Software Module (Client PPSM). The Client PPSM comprises code to send a Ping Plus Request having an unique identifier corresponding to the client machine. The server machine comprises a Server Ping Plus Software Module (Server PPSM) and an Unique Identifier Database. The Server PPSM comprises first code to receive the Ping Plus Request from the client machine and second code to determine if the unique identifier is in the Database. The Server PPSM comprises third code to hold the Ping Plus Request if the unique identifier is not in the Database. The Server PPSM comprises fourth code to create a Ping Plus Response if the unique identifier is in the Database and fifth code to send the Ping Plus Response to the client machine.

BACKGROUND OF THE INVENTION

Maintaining a large network of server and client machines is a daunting task, For example, consider a company having 500 Linux based bar-code scanning devices (client machines) used at various locations around the world. A technician is responsible for monitoring the output of the client machines. The technician sees that a specific client machine is causing errors in the system and would like to connect to that client machine. However, the technician cannot initiate a connection to the client machine because it is within a network with fire-walls preventing the connection. Using conventional systems and methods, the technician could maintain an open connection between all the client machines (500 or more) and the server but this would take bandwidth and system resources. Alternatively, a conventional ICMP request could be sent but that would either cause each client machine to constantly ping the server machine or there would be a delay in the connection. Still alternatively, an http request could be used to poll the server machine but that would also increase the bandwidth use and resources.

SUMMARY OF THE INVENTION

One object of the present invention is to provide a system and method for one machine such as a server machine to selectively send messages to other machines such as client machines over the internet that requires significantly less infrastructure, bandwidth and system resources.

The present invention is directed to a system and method for machines to communicate over the Internet. In a first embodiment, the system comprises a plurality of client machines in communication with a server machine over the Internet. Each client machine comprises a central processing unit, a storage device, and a Client Ping Plus Software Module. The Client Ping Plus Software Module comprises a first set of code adapted to create a Ping Plus Request having an Unique Identifier corresponding to a specific client machine and a time out period T1. The Client Ping Plus Software Module further comprises a second set of code adapted to send the Ping Plus Request to the server machine. The server machine comprises a central processing unit, a storage device, a Server Ping Plus Software Module, and an Unique Identifier Database. The Server Ping Plus Software Module comprises a first set of code adapted to receive the Ping Plus Request from the client machine and a second set of code adapted to determine whether the Unique Identifier of the Ping Plus Request is in the Unique Identifier Database. The Server Ping Plus Software Module comprises a third set of code adapted to hold the Ping Plus Request a period of time T2 if the unique identifier is not in the Unique Identifier Database. The Server Ping Plus Software Module comprises a fourth set of code adapted to create a Ping Plus Response for the client machine if the unique identifier of the Ping Plus Request is in the Unique Identifier Data Base. The Ping Plus Response comprises a command to the client machine such as connect to the server machine or download an update. The Server Ping Plus Software Module comprises a fifth set of code adapted to send the Ping Plus Response to the client machine. The system and method of the present invention allows a person or company to send a command to a specific client machine or group of machines without requiring significant infrastructure, bandwidth and/or other system resources.

BRIEF DESCRIPTION OF THE DRAWINGS

The following description of the invention will be more fully understood with reference to the accompanying drawings in which:

FIG. 1 is a high level block diagram showing the architecture of a system according to the present invention;

FIG. 2 is a high level flow chart showing the operation of a Client Ping Plus Software Module and a Server Ping Plus Software Module according to the present invention;

FIG. 3 is an illustration of several Unique Identifiers stored in an Unique Identifier Database according to the present invention;

FIG. 4 is an illustration of a Ping Plus Request according to the present invention; and

FIG. 5 is an illustration of a Ping Plus Response according to the present invention.

DESCRIPTION OF THE INVENTION

Referring to FIG. 1, a system 100 according to a first embodiment of the present invention generally comprises a machine 102 adapted to communicate with machines 118, 128, and 138 over an Internet or World Wide Web 80. The term “machine” includes any type of present or future developed server and/or client machine. The term “server machine” means any type of present or future developed electronic device having a central processing unit and server software, including but not limited to, a web server, a file server, an embedded server, and a plug based server. The term “client machine” means any type of present or future developed electronic machine having a central processing unit and client software, including but not limited to, a personal computer, a wireless device such as a phone, a work station, a mp3 player, a home automation device, a medical device and a network router. In the embodiment shown, except for Server Ping Plus Software Module 108 (to be described), machine 102 is a conventional web server machine such as Model No. PowerEdge T20 available from Dell Inc. In the embodiment shown, except for Client Ping Plus Software Module 124 (to be described), machines 118, 128 and 138 are conventional client machines such as Model No. RASPBERRY-MODA-256M-MODEL A available from Raspberry Pi (Trading) Ltd.

Server machine 102 generally comprises a central processing unit 104 and a storage device 106. Server machine 102 further comprises a Server Ping Plus Software Module 108 stored on storage device 106. Server machine 102 further comprises an Unique Identifier Data Base 110 stored on storage device 106 or a remote storage device 90. The Unique Identifier Database is adapted to receive and store authorized unique identifiers (for example, unique identifiers 112, 113, and 114 shown in FIGS. 3 and 4) input by a technician at a designated time. Server machine 102 communicates over Internet 80 via a conventional router 82.

Client machine 118 generally comprises a central processing unit 120 and a storage device 122. Client machine 118 further comprises a Client Ping Plus Software Module 124 and an unique identifier 126 stored on storage device 122. Client machine 118 communicates over Internet 80 via a conventional router 84.

Client machine 128 generally comprises a central processing unit 130 and a storage device 132. Client machine 128 further comprises a Client Ping Plus Software Module 134 and an unique identifier 136 stored on storage device 132. Client machine 128 communicates over Internet 80 via a conventional router 86.

Client machine 138 generally comprises a central processing unit 140 and a storage device 142. Client machine 138 further comprises a Client Ping Plus Software Module 144 and an unique identifier 146 stored on storage device 142. Client machine 138 communicates over internet 80 via a conventional router 88.

Referring to FIG. 2, where the method and operation of Server Ping Plus Software Module 108 of server machine 102 and Client Ping Plus Software Module 124 of client machine 118 are illustrated. Client Ping Plus Software Modules 134 and 144 are identical to Client Ping Plus Software Module 124.

As indicated block 220, Client Ping Plus Software Module 124 of client machine 118 comprises a set of code adapted to start operation of the software. Control is passed to block 222 where Client Ping Plus Software Module 124 comprises a set of code adapted to wait for a message such as a command to initiate a Ping Plus Request received from an external source 92 or a Ping Plus Response received from server machine 102. Control is passed to a decisional block 226, where Client Ping Plus Software Module 124 comprises code adapted to determine whether the message is to send a Ping Plus Request. If the message to client machine 118 is to create a Ping Plus Request then control is passed to a block 234 where Client Ping Plus Software Module 124 comprises code adapted to create a Ping Plus Request 125 (FIG. 4) having an unique identifier 126 (FIG. 4) corresponding to client machine 118. As shown by FIG. 4, Ping Plus Request 125 has a payload containing unique identifier 126 and a time out period T1. Control is passed to a block 236 where Client Ping Plus Software Module 124 comprises code adapted to send Ping Plus Request 125 to server machine 102. Control is returned to block 222 where client machine 118 waits for another message. Returning to decisional block 226, if the message is not to send a Ping Plus Request then control passes to a decisional block 228 where Client Ping Plus Software Module 124 comprises code adapted to determine whether the message is a Ping Plus Response. If the message is a Ping Plus Response 115 (FIG. 5) received by block 224 then control is passed to a block 230 where a command 116 (FIG. 5) of a Ping Plus Response 115 (FIG. 5) is executed by client machine 118. Returning to decisional block 228, if the message is not a Ping Plus Response then control is passed to a block 232 where the command in the message is executed.

With continued reference to FIG. 2, and as indicated by a block 200, Server Ping Plus Software Module 108 comprises a set of code adapted to start operation of the software. Control is passed to block 202 where Server Ping Plus Software Module 108 comprises a set of code adapted to wait for a request (for example, Ping Plus Request 125 from client machine 118 or a message from a technician or remote source 94 to add an Unique Identifier to Unique Identifier Database 110). Control is passed to a decisional block 254 where Server Ping Plus Software Module 108 comprises code adapted to determine if the request is to add an unique identifier to the Unique Identifier Database 110. If the request is to add an unique identifier to Unique Identifier Database 110 then control is passed to a block 256 where Server Ping Plus Software Module 108 comprises code adapted to store an unique identifier 112 (FIG. 3) corresponding to unique identifier 126 of client machine 118 in Unique Identifier Database 110 which may be stored on storage device 106 of server machine 102 or on a remote storage device 90. FIG. 3 shows an Unique Identifier Database 110 having unique identifiers 112, 113, and 114. Unique identifier 112 is the same as the unique identifier 126 of client machine 118. Unique identifier 113 is the same as the unique identifier 136 of client machine 128. Unique identifier 114 is the same as unique identifier 146 of client machine 138. Returning to decisional block 254, if the request is not to add an unique identifier, control is passed to a decisional block 204 where Server Ping Plus Software Module 108 comprises code adapted to determine whether time out period T1 of Ping Plus Request 125 of client machine 118 has expired. If time out period T1 has elapsed then control is passed to block 212 wherein Ping Plus Request 125 is dropped and control returns to block 202 where server machine 102 waits for another request by the same or different machine. If time out period T1 has not elapsed, then control is passed to a decisional block 206 where Server Ping Plus Software Module 108 comprises code adapted to determine whether unique identifier 126 of Ping Plus Request 125 (FIG. 4) of client machine 118 is in Unique Identifier Data Base 110. If unique identifier 126 of Ping Plus Request 125 of client machine 118 is not in Unique Identifier Data Base 110 control is passed to block 208 where Server Ping Plus Software Module 108 comprises code adapted to hold Ping Plus Request 125 for a period of time or hold period T2. In the embodiment shown, hold period T2 is about thirty seconds. Control is passed to block 210 where Server Ping Plus Software Module 108 comprises code adapted to reissue the Ping Plus Request 125. Control is returned to block 202 where Ping Plus Request 125 of client machine 118 is reprocessed. Returning to decisional block 206, if the unique identifier 126 of the Ping Plus Request 125 (FIG. 4) is in Unique Identifier Data Base 110 then control is passed to block 214 where Server Ping Plus Software Module 108 comprises code adapted to remove the unique identifier 126 from Unique Identifier Data Base 110. Control is then passed to block 216 where Server Ping Plus Software Module 108 comprises code adapted to create a Ping Plus Response 115 (FIG. 5) in reply to the Ping Plus Request 125 from client machine 118. FIG. 5 shows an illustration of Ping Plus Response 115 having a command 116 that can be any command such as instructing client machine 118 to connect to a communication port (not shown) of server machine 102 or to download a software update. Control is passed to block 218 where Server Ping Plus Software Module 108 comprises code adapted to send Ping Plus Response 115 to client machine 118. Specifically, Ping Plus Response 115 is passed by router 82 to Internet 80 and received by router 84 and passed to block 224 of Client Server Software Module 124 which, as previously described, comprises code adapted to receive Ping Plus Response 115. Control is returned to block 202 where server machine 102 waits for another message.

EXAMPLE NO 1

Maintaining a large network of server and client machines is a daunting task, For example, consider a company having 500 Linux based bar-code scanning devices (client machines 118, 128, 138, etc.) used at various locations around the world. A technician is responsible for monitoring the output of client machines 118, 128, and 138 and the other machines. In the present example, client machines 118, 128, and 138, and all the other machines are constantly creating and sending a Ping Plus Request to the server machine 102. Each Ping Plus Request has a unique identifier. Server Ping Plus Software Module 108 of server machine 102 comprises code to receive the Ping Plus Request and to determine whether or not the Ping Plus Request has exceeded a timeout period T1 of the client machine, for example thirty seconds. If the Ping Plus Request has not exceeded the timeout period T1, Server Ping Plus Software Module 108 comprises code to determine if the unique identifier of the client machine is in Unique Identifier Database 110. At this state of our example, the unique identifier corresponding any client machine is not in Unique Identifier Database 110 and server machine 102 holds the Ping Plus Request for each machine a period of time T3 and to ultimately drop the Ping Plus Request until a need arises to enter an unique identifier for client machine 118, 128 or 138 or any other machine into the Unique Identifier Database 110. In this example, lets assume that the technician sees that client machine 118 is causing errors in the system and would like to connect to client machine 118. However, the technician cannot initiate a connection between server 102 and client machine 118 because client machine 188 is within a network with fire walls preventing the connection. With the present invention, the technician simply needs to send a command to server machine 102 to create an unique identifier for client machine 118 and store it in Unique Identifier Database. The next time the existing Ping Plus Request (or in the case of a time out, a new Ping Plus Request) for client machine 118 is processed, server machine 102 determines that the unique identifier corresponding to client machine 118 has been added to Unique Database 110. Server machine 102 then creates and sends a Ping Plus Response to client machine 118 in reply to the Ping Plus Request sent by client machine 118. The Ping Plus Response contains a command instructing the client machine 118 to take an action. In this example, the command is for client machine 118 is to connect to a port of server machine 102 so client machine 118 and server 102 can communicate with each other. Unlike conventional systems and methods, the present invention allows the technician to solve the problem without having to maintain an open connection between all the client machines (500 or more); sending a conventional ICMP request causing each client machine to constantly ping the server machine or causing a delay in the connection to a communication port of the server; or sending an http request to poll the server machine, all of which use a significant amount of bandwidth and system resources. The system and method of the present invention quickly solves the problem while using significantly less bandwidth and system resources than conventional systems and methods.

EXAMPLE NO. 2

This system and method of the present invention allows a software company to update millions of client software installs with a minimal server infrastructure by a process we have coined “trickle down software updates.” A software company released a product on its server machine 102 and a million copies have been installed on machines around the world, including client machines 118, 128, and 138. The software needs to auto update when a new version is installed. However, the company doesn't want to invest in a robust server infrastructure that would support updating millions of clients simultaneously. The present invention solves this problem in the following way: (1) Client machines 118, 128, 138 or any other machine having a newly installed version of a software release sends a Ping Plus Request to an update server machine 102 with a defined timeout period; (2) The update server 102 has software that handles the Ping Plus Requests. Instead of responding immediately to the Ping Plus Requests the software holds the Ping Plus Requests and waits for an unique identifier to be added to Unique Identifier Date Base 110 that matches an unique identifier in the Ping Plus Requests sent by client machines 118, 128 or 138. In this case, the unique identifier could be a “flag” that is contained in the payload of every Ping Plus Request send by client machines 118, 128, and 138 or any other machine having a newly installed software release; (3) After the timeout of the Ping Plus Request, the Client Server Software Module 124 of client machine 118 or any other machine creates and sends another Ping Plus Request with the same timeout period and unique identifier; (4) A software update is created and uploaded to update server 102; (5) A unique identifier, in this case a current flag, is set for a reasonable number of client machines, for example, one thousand client machines which includes client machine 118, and is added to Unique Identifier Date Base 110; (6) Because the flag corresponding to client machine 118 and other machines are stored in Unique Identifier Database 110 of update server 102, Server Software Module 108 creates and sends a Ping Plus Response to client machine 118 and any other machine having a flag that matches the current flag in the Unique identifier Database. The Ping Plus Response contains a command to download an update; (7) When the Ping Plus Response is received by client machine 118, Client Ping Plus Software 124 knows there is an update to be downloaded and immediately executes the command contained in the Ping Plus Response; and (8) After the batch from step (5) above have been updated a new batch is started until all client machines have been updated. The system and method of the present invention allows a company to update many client machines with software without a need for a robust architecture by providing a simple and flexible system that maintains control of the client devices by the server machine.

The foregoing description is intended primarily for purposes of illustration. This invention may be embodied in other forms or carried out in other ways without departing from the spirit or scope of the invention. 

What is claimed:
 1. A system for communication over the internet comprising: a first machine in communication with the internet; a second machine in communication with said first machine over the internet; said first machine comprising a central processing unit, a storage device, and a Client Ping Plus Software Module; said Client Ping Plus Software Module comprising a first set of code adapted to create a Ping Plus Request; said Ping Plus Request comprising an unique identifier and a time out period T1; said Client Ping Plus Software Module comprising a second set of code adapted to send said Ping Plus Request to said second machine; said second machine comprising a central processing unit, a storage device, a Server Ping Plus Software Module, and an Unique Identifier Database; said Server Ping Plus Software Module comprising a first set of code adapted to receive said Ping Plus Request from said first machine; said Server Ping Plus Software Module comprising a second set of code adapted to determine whether said unique identifier of said Ping Plus Request is in said Unique Identifier Database; said Server Ping Plus Software Module comprising a third set of code adapted to hold said Ping Plus Request a period of time H1 if said unique identifier is not in said Unique Identifier Database; said Server Ping Plus Software Module comprising a fourth set of code adapted to create a Ping Plus Response for said first machine if said unique identifier of said Ping Plus Request is in said Unique Identifier Data Base; said Ping Plus Response comprising a command for said first machine; and said Server Ping Plus Software Module comprising a fifth set of code adapted to send said Ping Plus Response to said first machine.
 2. The system of claim 1, wherein said Server Ping Plus Software Module comprises a sixth set of code adapted to determine whether said time out period T1 of said Ping Plus Request has expired.
 3. The system of claim 2, wherein said Server Ping Plus Software Module comprises an seventh set of code adapted to drop said Ping Plus Request if said time out period T1 has expired.
 4. The system of claim 3, wherein said Server Ping Plus Software Module comprises an eighth set of code adapted to receive and store an unique identifier in said Unique Identifier Database identical to said unique identifier of said Ping Plug Request.
 5. The system of claim 4, wherein said Server Ping Plus Software Module comprises a ninth set of code adapted to create said Ping Plus Response.
 6. The system of claim 5, wherein said Server Ping Plus Software Module comprises an tenth set of code adapted to delete said unique identifier from said Unique Identifier Database after said Ping Plus Response is sent to said first machine.
 7. The system of claim 6, wherein said Client Ping Plus Software Module comprises a third set of code adapted to receive said Ping Plus Response from said second machine.
 8. The system of claim 7, wherein said first machine is a client machine and said second machine is a server machine.
 9. The system of claim 8, wherein said time out period T1 of said Ping Plus Request is three minutes and said hold time period T1 of said server machine is thirty seconds.
 10. The system of claim 9, wherein said Unique Identifier Database is stored on said storage device of said server machine.
 11. The system of claim 10, wherein said Server Ping Plus Software Module is stored on said storage device of said server machine and said Client Ping Plus Software Module is stored on said storage device of said server machine.
 12. The system of claim 11, wherein said command comprises a command for said client machine to open a communication port with said server machine.
 13. The system of claim 12, wherein said unique identifier of said Ping Plus Request comprises a MAC address corresponding to said client machine.
 14. A method for one or more client machines to communicate with a server machine over the internet, the method comprising the steps of: (a) providing an Unique Identifier Data Base accessible by the server machine; (b) storing a Ping Plus Request having an unique identifier on the client machine; (c) sending the Ping Plus Request to the server machine; (d) receiving by the server machine of the Ping Plus Request from the client machine; (e) determining by the server machine whether the unique identifier of the Ping Plus Request is in the Unique Identifier Data Base; (f) holding by the server machine of the Ping Plus Request a period of time T1 if the unique identifier of the client machine is not in the Unique Identifier Data Base; (g) creating by the server machine of a Ping Plus Response if the unique identifier of the client machine is in the Unique Identifier Data Base; and (h) sending by the server machine of the Ping Plus Response to the client machine.
 15. The method of claim 14, further comprising the step of determining whether the time out period T1 of the Ping Plus Request has expired.
 16. The method of claim 16, further comprising the step of dropping the Ping Plus Request if the time out period T1 of the Ping Plus Request has expired.
 17. The method of claim 16, further comprising the step of storing an unique identifier in the Unique Identifier Database identical to the unique identifier of the Ping Plus Request.
 18. The method of claim 17, further comprising the step of deleting the unique identifier from the Unique Identifier Database after the Ping Plus Response is sent to the client machine. 